package com.ling.dao;

import com.ling.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {

    //根据ID查询用户
    User getUserById(int id);

    //选择全部用户实现分页
    List<User> getUserByLimit(Map<String ,Integer> map);

    //选择全部用户RowBounds实现分页
    List<User> getUserByRowBounds();
}
